package com.gxa.xiaoucomeshome.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;

/**
 * @program: IntelliJ IDEA
 * @description:
 * @author: Mr.Wang
 * @create: 2022-06-07 18:45
 **/

@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel
public class Manager implements Serializable {
    @ApiModelProperty(value = "管理员编号")
    private Integer id;
    @ApiModelProperty(value = "管理员手机号")
    private String phone;
    @ApiModelProperty(value = "管理员姓名")
    private String name;
    @ApiModelProperty(value = "管理员密码")
    private String pwd;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "管理员账号注册时间")
    private Date regTime;
    @ApiModelProperty(value = "管理员所属站点")
    private String site;
    @ApiModelProperty(value = "管理员状态")
    private Integer state;
}
